package net.lee.algorithm.linkedorder;

/**
 * 定义链表节点
 */
public class DoubleLinkObject {

    private DoubleLinkObject preObject;

    private DoubleLinkObject nextObject;

    private Integer value;

    public DoubleLinkObject getPreObject() {
        return preObject;
    }

    public void setPreObject(DoubleLinkObject preObject) {
        this.preObject = preObject;
    }

    public DoubleLinkObject getNextObject() {
        return nextObject;
    }

    public void setNextObject(DoubleLinkObject nextObject) {
        this.nextObject = nextObject;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}
